package com.sac.approval.dao;

import com.sac.approval.domain.ApprovalTemplateDO;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

/**
 * 
 * @author chglee
 * @email 1992lcg@163.com
 * @date 2018-09-18 14:37:46
 */
@Mapper
public interface ApprovalTemplateDao {

	ApprovalTemplateDO get(String appTemplateId);
	
	List<ApprovalTemplateDO> list(Map<String,Object> map);
	
	int count(Map<String,Object> map);
	
	int save(ApprovalTemplateDO approvalTemplate);
	
	int update(ApprovalTemplateDO approvalTemplate);
	
	int remove(String app_template_id);
	
	int batchRemove(String[] appTemplateIds);
}
